package com.bw.task.mvp.contern;

import com.bw.library.mvp.model.IModel;
import com.bw.library.mvp.view.IView;
import com.bw.task.bean.ImgBean;
import com.bw.task.bean.MoneyBean;
import com.bw.task.bean.PopupWindioBean;
import com.bw.task.bean.UserBean;

import io.reactivex.Observer;

public interface UserContent {

    interface mGifit extends IView{

    }

    interface mView extends IView {
        //注册
        void UserBean(UserBean userBean);
        //登录
        void LogUserBean(UserBean userBean);
        void MoneyUserBean(MoneyBean moneyBean);
        void getImgBean(ImgBean imgBean);

    }
    interface mModel extends IModel {
        //注册
        void rquestreg(String name, String pass, Observer<UserBean> observer);
        //登录
        void rquestlog(String name, String pass, Observer<UserBean> observer);
        void requestimg(String path, Observer<ImgBean> observer);
        void requestmoney(String id,String money,Observer<MoneyBean> observer);

    }
}
